﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Voorwerpen.aspx.cs" Inherits="Voorwerpen" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="KopContent" runat="Server">
    Gevonden & Verloren voorwerpen
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentLeft" runat="Server">
    <div class="regItem">
        <div class="regNaam">
            <h1 style="color: White">
                Gevonden &amp; Verloren</h1>
        </div>
        <div class="regTekst">
            <asp:Button ID="btnAdd" runat="server" OnClick="btnAdd_Click" Text="Voeg Voorwerp Toe" />
            <asp:Button ID="btnRefresh" runat="server" OnClick="btnRefresh_Click" Text="Herlaad" />
            <asp:TextBox ID="txtZoek" runat="server"></asp:TextBox>
            <asp:Button ID="btnZoek" runat="server" OnClick="btnZoek_Click" Text="Zoek" />
            <br />
            <br />
            <asp:GridView ID="Grid" runat="server" AutoGenerateColumns="False" CellPadding="4"
                PageSize="5" AllowSorting="True" ForeColor="#333333" GridLines="None" DataKeyNames="ItemID"
                OnRowCancelingEdit="Grid_RowCancelingEdit" OnRowDeleting="Grid_RowDeleting" OnRowEditing="Grid_RowEditing"
                OnRowUpdating="Grid_RowUpdating" Height="150px" Width="1200px" EmptyDataText="Geen Voorwerpen Gevonden"
                EnableSortingAndPagingCallbacks="True" Style="margin-top: 0px" ShowHeaderWhenEmpty="True">
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <Columns>
                    <asp:CommandField HeaderText="Nieuw/Wijzig" ShowEditButton="True" EditText="Wijzig"
                        UpdateText="Wijzig">
                        <FooterStyle HorizontalAlign="Left" />
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:CommandField>
                    <asp:BoundField DataField="ItemID" HeaderText="Voorwerp ID" ReadOnly="True">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Naam" HeaderText="Naam">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Datum" HeaderText="Datum">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Omschrijving" HeaderText="Omschrijving">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="Status" HeaderText="Status">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:CommandField HeaderText="Verwijder" ShowDeleteButton="True" DeleteText="Verwijder">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:CommandField>
                </Columns>
                <RowStyle BackColor="#E3EAEB" />
                <EditRowStyle BackColor="#7C6F57" />
                <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="center" />
                <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                <AlternatingRowStyle BackColor="White" />
                <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
